package net.zjitc.mapper;

import net.zjitc.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GoodsMapper {
    List<Goods> findAll();
    List<Goods> findOnePage(Map<String, Object> params);
    List<Goods> findById(Integer id);
    Goods findOne(Integer id);
    void update(Goods goods);
    void add(Goods goods);
    void delete(Integer id);
}
